package org.jeecg.modules.electricity.mapper;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.electricity.entity.LwgyJointElectricity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 电控管理
 * @Author: jeecg-boot
 * @Date:   2022-06-13
 * @Version: V1.0
 */
@DS("multi-datasource1")
public interface LwgyJointElectricityMapper extends BaseMapper<LwgyJointElectricity> {
    IPage<LwgyJointElectricity> sqlServerPage(Page page, @Param(Constants.WRAPPER)QueryWrapper queryWrapper);

    void updateEleState(LwgyJointElectricity lwgyJointElectricity);
}
